def find_ground_bags():
    Player.ChatSay("大家好，我是自动脚本！")
    Player.ChatSay("现在开始查找地面上的袋子。")
    filter = Items.Filter()
    filter.Enabled = True
    filter.OnGround = True
    filter.Graphics.Add(0x0E76)
    bags = Items.ApplyFilter(filter)
    if bags:
        for bag in bags:
            x, y, z = bag.Position.X, bag.Position.Y, bag.Position.Z
            msg = "Found a ground bag at: (%d, %d, %d)" % (x, y, z)
            print(msg)
            Player.ChatSay(msg)
    else:
        print("No ground bag found (itemid 0x0E76)")
        Player.ChatSay("未找到任何地面袋子。") 